made some thread tweaks
added /greylist command, and refactored api enums