Add missing fieldConstructor
Cleanup app global (particular bug #845 workaround - it's now fixed.)