Space Defender: Added support for MacOS

Added support for MacOS - Fixed minor bugs