Clumsy coding... fixed preloader and switch statements