Crash Fixes

* Removed readscan's use for Regex weirdness and made it ignore empty
lines totally
* Removed my failed crash prevention and added something better
* Fixes crash on save dialog cancel