various consistency fixes for strict mode + autoload