New E2 functions

safezone e2 functions, with accompanying library functions. also removed
old autorun.