Display a loading screen

A loading screen is displayed while the application runs thru a
intensive computation. This is done on a seperate thread. When its
finished, the main layout is displayed.