Added and started work on screen.lua to allow changing of resolutions in future. Modified gui.lua to work with these new functions.