added resolution getting and setting
implemented fullscreen toggling (changing from windowed to fullscreen at runtime does not work when already initialized!)
updated exception system and added keyboard class