Fixed bad query protocol for Neverwinter Nights
Some source tree cleanups