added boot state and simple loading bar