Bunch of bug fixes

With stats, admin level checks, etc