window dimensions are public static, started making window resizable (only works by changing main by now)