Renaming getVisible2dAreaDimensions -> getDimensions, and fixing problems with creating an object and immediately changing the current working dir