Added basic klog. Added ipc tester. TODO add serializing functions to psthread, so that the lines in klog won't intermix.