Some JavaDocs completed, fixed image loading

All class descriptor JavaDoc comments are done, still need to do some
for individual functions, but I will get that done later today. Fixed
the image loading for lines and the tabbed panel icons. Auto formatted
all code, and removed some old code/comments.