iPad margins

* added padding for WebViewController
* fixed a couple of warnings for 64bit devices