added some user events (onDraw, onMouse, onButtonClicked, onValueChanged)
added current test sketch as example