Updated to run outside of pyscripter

Changed where the directory is added to sys.path
Made frame build itself before splash screen is done