cleanup, added shortcut funct, fixed footer drops

Footers were dropping when the algo ran through multiple footer-like
rows. Now rows return to the data array if they aren't the last footer.