switch beam mostly complete, works ingame and saves and loages from editor