factored out controls and static methods from DrawPanel
Merge branch 'master' of https://github.com/apelade/draw
removed initial src