Don't keep loading the manifest from disk.
Refactor track to make more sense.

Merge_path_from_castle doesn't need to be in a block which it doesn't
use.