now takes 4 points, draw midline between two of them; updated lots of ui and added more pages