Changes to thread interface; removal of unneeded or redundant code; minor fixes
Changes to thread interface; removal of unneeded or redundant code; minor fixes

csound/csound,csound/csound,csound/csound,ketchupok/csound,ketchupok/csound,ketchupok/csound,csound/csound,ketchupok/csound,ketchupok/csound,ketchupok/csound,ketchupok/csound,csound/csound,csound/csound,ketchupok/csound,csound/csound,ketchupok/csound,csound/csound,csound/csound,csound/csound,ketchupok/csound