Scrollbar fixed. Line counting added for debugging.
Debugging tab added.