- permissions system fixes
- minor fixes