fixing layout in different displays
added some useful debug information to loading