Fixed bug with TWI
Provision for custom program build
Fixed name conflict with constants
Fixed compilation problems. *not tested*