fixed a few PORTAL_INDEX_FILE checks
and a few other small fixes

git-svn-id: http://webauctionplus.googlecode.com/svn/trunk@344 c41ed8a6-1c15-8a3d-a996-777bd911872f