fixing up some last minute stuff. like loiter math.
Greg

Signed-off-by: GAFletcher <gafletcher@att.net>
fixing up loiter