Fixed running OSCAAR from GUI

Bug where we tried to open files in /code after changing to that
directory