re-aligned user viewable variables. some p4 loop fixes.