Finished converting window management to a class