Added a test of the link to the controller.
Corrected an error in SetWindow, but the bias arguments probably still need work.