better system for panels

also added semblance of currentSPB and whatnot for future changing of
levels