Auto pause if execution runs off end
added extra newline at end of input files.
Updates for bug fixes and arrays