Some housekeeping and a bug fix for app.js termination after init.