Actually that seems to be a mix up with the other file of ezpages.php that is for admin. So, from this ezpages file that belongs to the folder of sideboxes I removed everything under this:

}
} // test for display
?>

(so, the above still stays, all else goes away under from this file)

...and it seems to work now... using 1.3.7 here.