Add Core Directory option to RGUI.

Also clean up some useless branches to ternaries.