Allows command+w to close the window [closes #3]