Changed thalamus class to be created by the gui. Changed tests