Here we go again, functions and zoom reinstated

Had to manually copy these, hope this commit works.