Added comments to showpage and fix little mistakes