Change lastPidTime to an unsigned int