fixed ID conflict bug that caused the gen files to fail
Added refresh, clear, and reset buttons