Cleaned up some code, added DGX support (writing to DGX chips using JRProgrammer)