Prevent warnings on 32bit and 64bit systems
Misc fixes

    * Fixes a few build warnings
    * Adds a screen mode