fixed bug in event gates, tweaked UART event loop, now activate hw pumps immediately