Issue #196: Formula names with spaces fail without error

* Now there is validation before adding any formula
* All the spaces will be automatically converted to underscores