changed the name of the enableDefaults method and added the maximize window feature to true