better handling of errors in show battery level
fix compiler warnings introduced by new scroll sensitivity code