Exising Bug Fix.

String out of bounds error. Checks if line is not empty.