Fix crash when powers/powers.txt is empty
Merge pull request #1269 from dorkster/fixes

Fix crash when powers/powers.txt is empty