Fix penup and colour change
Remove getValue function
Some more code cleanup