save and storage of events moved to main mesh. Alot of cleanups of static members and member names. Bugfix with priority counter. Testing continoues