CivilopediaScreen fix

AbilitiesFrame was being incorrectly closed in several spots. Caused
abilities to be carried over from previous entries.