Rewrote ui layout save\load to serialize with Jansson\JSON. Removed libyaml, and cleaned up code.