clean up code added titles to windows