Action menu added
Base for serialization, bugfixes
Finished serialization, optimizations