removed testing elements, revised widgets

added event handling to input widgets