Misc code/files cleanup

Also fixed critical exploit with worldedit restrictor which allowed all
players worldedit access.