cleanup
added connection detection with splash screen