Principal Components in New Thread & UI

Trying to implement principal components in a new thread.  Doesn't work
at the moment.