* first attemts at reading buttons
* small fixes elsewhere