Stuff
Changed GUI layout, finished algorithm
Merge branch 'try-to-optimize'