added debug kit and some more work on application logic, in a good spot now