In the index.php it is better to use trigger_error because this will create a entry in the error log in my files.

.htacces in the install should be fixed.

In the contacts class i added this part because it will show crm notes of employees of a company.
this wy you can enter it with each contact and will show up at the connected company.

I have added something to the inventory install that will set the inactive fields to check_boxes ( for all modules) in the extra fields table they are marked as drop-down. Because it wasn't set as a check box the fields class didn;t check if it was set or not making it imposible to switch

In the phreedom/pages/main/pre_process.php i have removed the setting of the params to array() because this is done in the header of the new class after it has been initialized.