Fixes

Whole bunch of fixes to various bugs.  I can't test the logging fixes other than to say that I do see log messages coming through the local sproutcore server and off to the main server, and looking at the content of the message in the browser.