Some code tidying
Fixed bug with editor height when created in a hidden div. #98