Py3: absolute imports

Bring Py3 changes on to my dev branch before tidying up all branches