Fixed bug with unblocking by console

Fixed bug with invalid client_index/userid if Console was issuer of
command.
Fixed memory leak
Removed useless function GetClientOfUserId2
Code refactored, edited natives code.

Removed some debug information.