minor

game scope adjustments
general loop fixups
lines now initialized to prevent comparisons against null