update wx functions to wxWidgets 3, add sound lib, fix close button, change stricmp to _stricmp on windows