Fixes in ip guessing, added flood protection for some commands, small other changes