Fixed some bugs with incorrect paths getting passed to JSourcePane. Added experimental code folding/expanding methods. Added some comments.