improved window.json and urls

app loader adds/overwrites zIndex, running and minimized properties of
the window.json.

All of the apps except terminal should load remotely now.
Apps can have multiple windows open