added reflection method
less redundant code; added getpermfield
fixed super perms compat
added regex dots via #