refactoring pathing with real one

solved some crashes about pathing, seems solid now
WIP pathing logic

- reworked some UI widgets to open/close panels
- fixed switches tile modes and toggle out of FoV monster display