moved the check for PyQt so that we don't need to install it when running -c
Consistent maximum payload length