Fixed a bunch of errors in auxiliary files.
Fixed older tests.

Fixed imports and errors in various classes.

Improved VisualizableComponentTest.