Added OSX application icon and improved Windows icon loading