Fixed two bugs:

Fixed bug where formula dependencies would be duplicated on display.
Fixed bug where deprecated formulas would cause the app to crash.
Disables toolbar buttons when opening doctor or updater.