Improved method of detecting whether page fault came from usermode.
Moved "panic" to seperate source file.
Added function to retrieve stored EIP value.
Panic now displays BSOD-like screen.
Added locking to thread access functions.