Updated algorithm, fix epsilon on right check
Cleanup, tabs, canvas color
Merge cleanup