few more sanity checks
cleans up code, almost solves back problem, spits apt message when back goes ourside range