Tweaks for debug logging, working on working around iOS WebSQL bug

Damned bug.
See here:
http://stackoverflow.com/questions/8741000/html5-web-sql-transactions-sk
ipped-without-error-when-touch-triggered-in-ios/