LMMS/lmms — pull request #1513 by DanWin (2014-12-26 18:32:39+00:00)
Title: Make command line project export working again

This fixes two segfaults, that were happening immediately when trying to export a project from command line.
A also fixed some memory access issues I noticed during export.