implemented debugging gui, still needs backend