Fixed issue with closing actually open shapes.
Changed rendering code. More unified.
Added observer pattern to splines.
Started to write modularised tools. First a selecter.