Fix bu references and bitmap null
Add compare and send mail after taking pictures
Various fixes
Adding comments