fixes related to logging, use str()
fixed on_tout related issue reg. reaction to up()