Don't use deprecated APIs

This was killing the performance of the settings view, taking 5-6
seconds to open certain panels.

Closes #119