Avoid duplicate checks

LoopHandling.__action() and LoopHandling.first_run() use the same check for
touchpad state.
Explicitly return a value in all functions/methods

This allows an easier understanding of the functions.

Do not add return value to the docstring if previously a function did not use
the return keyword, simply add return(None) to it.