made some fixes to factory, added music fading