Version 1.0.6 - Lot of fix

Lot of fix but there is still a problem with custom_header.php . I try
to fix it quickly