fix serialization
fix adventurer mode memory leak
remove generic position from tasks; add BiMap