A start on fixing #994
Merge pull request #1022 from dorkster/menupowers

Fixes for upgradable powers
Attempt to fix crash in WidgetTooltip::render()
Merge pull request #1025 from dorkster/fixes

Attempt to fix crash in WidgetTooltip::render()
Fix heap corruption
Merge pull request #1027 from igorko/master

Fix heap corruption
Merge pull request #1013 from stefanbeller/master

A start on fixing #994