implement use of CCAchievementWindow, fix Achievements only checking sometimes, fix achievement window not showing when main window is not visible