Create global config struct and refactors

Remove SCREEN_WIDTH macros
Sound system to be set via config
Refactor graphics system to use device and config
Fix gun lock for gas gun
Remove dynamic resolution change

Fix screen flicker when changing options