Removed even more dead code and cleaned everything up.

Added reset button with functionality.