Some yaml files mistakes fixed.
Closes #24 custom controls loading improved.

The definition of custom controls has also been
simplified, and now requires only an extra para-
meter insted of all those function overwritings
we had. Old way of loading them still works, but
the order problem will still happen.