Bug fix in output sequence name, also remove useless locking in some project functions which are only called by the main thread.