Taking out random console logging, and also disallow empty elements (makes no difference, but makes the UI ugly)