add loading stage for nicer app switching
refs #988 @2h
change place of hiding the loading stage
refs #988 @0.5h