lqueue: handle spurious wakeups
add comment
remove unused includes
gant: untabify, reindent