I came to this just now so the ideas are not very organized:

What we could do is gather all problems from Rohan and debugging section
of this board and think of a plan to integrate it together. If we do this one
thing (whick IS critical) and this requires major changes in kernel then we
don't want to overwrite everything, but think about other problems too, when
writing code.

P.S. I didn't want to look so pitiful yelling for help so...
I was trying to dig into kernel to find some areas where the problem (that
you described in detail) hides, but didn't have any luck. Maybe it is because
of uncommented code or my little knowledge about ASM/MeOS or whatever
but I'm still a loser