General clean up.
- Fixed/silenced warnings.
- Fixed errors.
- Updates due to changes to tool chain.
- Updates due to changes in toolbox library.