got rid of duplicate selectfun drawfun
Merge branch 'refactor' of https://github.com/Zephoku/Whiteboard into refactor