Fixed bug with elseif statements. Added needsBreak() function for temporarily dealing with loops that check multiple conditions.