Updates to dialog and initial string manipulations

Changed the open dialog to return a normal path and not a url, made the
first string manipulations