Converted some static local variables to stack localvariables
Linux: More native code refactoring
Linux: Removed current_* mode cache from display.c
Linux: Fixed a mouse cursor position issue in grabbed mode
Linux: removed getWindowWidth/Height from native side
Linux: Removed getScreenModeWidth/Height from display.c
Linux: fixed an issue with Xrandr timestamps
Linux: let exceptions from display.c propagate to LinuxDisplay.java
Linux: Moved saved display mode from C to LinuxDisplay.java
Linux: Moved some JNI functions