Also, if it's not too much to ask and if the code works without FORCE_PANIC, I wouldn't mind finding out where it breaks if not using the 48 MHz init (using forced base/type/ldn).
I have now committed your patch to svn. Will still need to figure out what the best approach might be with regards to 48 MHz SIO init. But thanks again for fixing my silly mistakes.
Regards,
/Pete