Fixes an error with page functions
removes an unused table from the installer
code cleanup.