Some very minor changes
Fix getregszvalue bugs
Log characters into the packet log
Limit the server log length to 2 MiB
Merge pull request #1 from theonlypwner/minor

Some minor changes