Update projects

Make projects only add files that match a directory.  This keeps it
from getting poluted if you open other files, while working on a
project.

Fix small bug in format for search (OS agnostic path seperator)