made next/counts start at current floor

The planning methods which were used to count orders or find the next
order were changed to start iterating at the current floor rather than
the next floor.  fixed NPE when at floor 0 and no orders above floor 0
cleaned up debugging cruft