added stepping of optimizers so we can control them from gui, added smarter json output for archive