Fixes to DDI-import and export to some minor problems. Changes to how custom buttons are handled, there might be some errors on certain custom buttons in this commit.