zero pad milliseconds when logging
check for IDLE capability before trying to use it
move idle check into main thread, add note to implement polling
fix bug in occasionally missing a message when arriving close together

I'd misunderstood EXISTS to mean "this mail exists", not "this number of
messages exists"