Refactoring.

Separating better Dots table view & model. Making plugin interface
safer. Removing an unit test for simpleai (don't remember what did
it do :).