Added showSources toggle and run/pause button
Removed main.js
Small improvements for merging