buyPowers2.php: Bug #1 / #6 (Pass 1)

End of day. File not done, but is better.