Add icon, resolve MinGW compilation issues