Minor changes: mod now works on SMP.