The Ontario government is taking control of the province's real estate regulator after an audit found issues with its practices and organizational culture.