Init portalrender.miny to video.height
De-dupe variable names in portal engine

ptop/pbottom are used by static globals in r_things.cpp and I don't like
them getting conflated.
Cleanup and minor refactoring in r_things