Updates the Preloader to work again

This was made possible by the new update Joshua did to the ApplicationMain.hx
Merge pull request #940 from sruloart/dev

Updates the Preloader to work again, safely