Changed screen type ints to enum for clarity.