added support for automatically joining a project, as per #78
removed superfluous profiling stuff