Allows changing resolution and screen mode