support controller input
bug fixes and more optional debug output