Changed the type of KeysWidget to a QTableWidget, and removed a bunch of unnecessary #include's.