fixed nullpointer
added loading screens and fixed some behaviour