avrboard: added comments, some cleanup