add window functions and title screen windows