added sql restore functionality to the kts menu
renamed a few parameters to make them easier to understand
key_commit: Fixed the order on the front page apportionment report