minor fixes

changed loglevel, fixed some formatting and typos, made sleep and polls always handle interrupts gracefully