Fixed bug with no tabs in redactor, now they are created; Added comments to code