Added ob_start() output buffer, conditional script/style enqueueing.