Speed up load time of WPF application

removed ten second sleep (which was used for testing).