Varios fixes.
Improvement of ElementCreator.js.