fixed bug on document tree & inline element tabs with creating a new document
fixed some styling bugs