added prefs
added window maximization