point2dem: Robustness for t_projwin
Minor tweaks