Fixed hang occuring when type-key pair in packet was incomplete
Changed more buffer allocations to use C++ syntax ; fixed MJPEG graphics not alpha blending properly