Added countdown before the map goes dark in darkness mode. Cleaned up some old code.