Free a bunch of things; fixes _most of_ issue #7.
Removed another memory leak for issue #7.
Added the standard .valgrindrc to the simplecpu example.