Some gui improvement and yaml parsing