bugfixes, change login to be modal
rework application cache, fix a href= handling
more rearranging of login stuff, trying to debug a crash
some refactoring of event/ajax handling
fix crash?
turn off manifest for phonegap