Added sessions, implemented //limit, implemented //undo