Fixed name variable, added 2 new variables

Variables added:
path: file path
project_name: if a project is open, it holds the filename, None otherwise