Added some basic functions for toggling window styles