Updated to SVN trunk 9808
Added initial (non-working) version of multithreading