Improvement to stats window and AISecurity

The statistics window no longer closes and reopens between rounds (that made it difficult to work in another window as the stats window constantly acquired the focus) and will stay open after all rounds have been played until it is closed. Also, the AISecurity checks for non enum object fields for issue #45.