Moved active and other into the stack. We now have no global variables in kernel.c