Fixed a few uml class editor bugs, fix #38

- Fixed delte packages command and open/close diagram bugs
- Fixed navigation bug