Added prototype for getscreenDPI(), and fixed a return without