got ui_input interfacing correctly

code needs major clean up