Add mouse support and image support in debug mode.
Merge branch 'snakeclass' into snakes
snakeclass is no longer necessary.
Completed energy function dev framework