1. fixes problems with error code calling of kaapic
2. tries to implement spawning in kaapic, but this is not working
   right now. asked for suggestions on the mailing list, until then
   the code is commented out