cleaned up main .pde file