remove main page, tweak sensor handling