Cleanup compiler warning
Precaution in case any other code modifies buffer size
Add functionality to override defines
Add functions for PCBv7
Add AES functionality
Various code enhancements