small fixes
Pls work clipboard
compiles now
merge resolution
compiles
painting works again. yay
preview now works
removed some dead code