Sync with Fritz

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