Update widget plugin conf when updating platform

Lots of variable renaming too for better readability.

Partially fixes #146.