Add some code notes

This leaves in place original slope/intercept line draw code in comments.
Thus we can swap between the two methods if needed by a change in approach.
Fix changes tracking bug

While at it improve javadoc