Changed the location of PalmSystem.stageReady(); to App.js and commented it out in webos-ext.js to prevent it from fireing too early.
Added webos-events to be able to react to the AppMenu and orientation changes etc.