Text this: A functor that reflects and preserves compactness and connectedness