Wave manager bugs fixed. Path finder can now return #f if no path is found.