Removed unused imports.
Moved control panel.
Updated display so that any leading comments written before the body of assembly code are displayed without line numbers for better readability.
Resolved error whereby visibly blank lines were still added to the programString ArrayList because they actually contained blank spaces or tab spaces. A regular expression is used rather than testing line length, as the latter is not sufficient to determine whether a space character is present.