Fixed two bugs and created a bound thread

(see http://sourceforge.net/p/rumpkernel/mailman/rumpkernel-users/thread/5326EA71.4010203%40iki.fi/#msg32110074)