Fixed bug which caused #UD on Qemu.
Added user-space stub table, mainly for user thread termination.
Flags for determining context: interrupt, exception, etc.
bugfix at vm_create_virtmem_object()
Fixed places which may lead to system deadlock.