Level editor fixes

This takes care of the minor stuff related to the randomize button and the add components view.