Added scrollbars to perms editor. Fixed bugs.