Small bugfixes

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>
Scheduler priority for important threads

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>