Ignore built files.
Added a tonne of correct memory deallocation sections.