restore rotation fix and remove prints
small changes in webplugin example