Added xml writing of custom data
Added database color and default username to Legacy writing via meta entry
Added convenience function to KPKEntry to create meta entries