Attach thread input in MATLAB 2012b

In MATLAB 2012b, the main window is named "MATLAB R2012b", with only a
single space.
Merge pull request #102 from simonster/2012b-input-thread

Attach thread input in MATLAB 2012b