fix array out-of-bounds
- fix issue with hanging ui on clse when network is down
- add getters for rotation/compass enabled
- cleanups