Redstone crash fix and current console line replace function

* Fixed a redstone simulator crash (#570)
+ Added a function to allow something like a progress bar to be updated in the console