Reworked the line system
More work needed to sort reflowing issues