Added spin coater error when trying to run profile while one already running; fixed issues with threads hanging at exit