Added missing variable and fixed index.php splash page.
Merge pull request #15 from upsonp/v4.0-interm

V4.0 interm
Merge pull request #72 from upsonp/v4.0

V4.0