Sync with Fritz

Sorry for the monster pull request ... will use branches now.
qx-mojo-app branch.