Added flag for multiple windows
Changed the name and begun proper work on the OSX port