Added a test command and made some fixes to GUIFileSelector.