polish the theano prototype

- add proper process termination
- remove old commented code
- safeguard against start procs multiple times in run()
- ensure setup is re-run after modifying network after a run()