Fix missing library headers
Fix compilation
Clean up database registration
Use application support for output directory on OSX
Use shared matrix helpers to generate transform matrix
Remove delayed messages