Depth Setting, Quit implementation

Also removed return null statement from chooseFile()