Updated to run outside of pyscripter

Changed where the directory is added to sys.path
Made frame build itself before splash screen is done
Edited to work outside of pyscripter