Various bug-fixes and reassignment of a class name.

Changed PacketBuffer to a name which better represented its purpose:
DataBuffer.

Also fixed various comment issues (typos, incorrect information, etc.)