First implementation of timestamp files, which will serve as the foundation for allowing multiple instances of Metro to run simultaneously. Other related fixes.