cleaned up DLB_Graphics.java

reorganized code to be more modular.