OSX Mavericks Kernel Panic
Solution 1:
According to your log you have a Razer mouse!
Kernel Extensions in backtrace: com.razer.common.razerhid(9.35)[0A917EFD-D323-36E1-AE4A-288047813989]@0xffffff7f8aecd000->0xffffff7f8aee5fff
It looks like your Razer mouse and/or its driver caused that panic.
That causes the BSD process name corresponding to current thread: WindowServer
(the app that switches your windows) to fail.
Disconnect the mouse and test.