Fixed select_writable so it would mark entire 
address space requested.

Also added __serialize functions to classes so 
they'd appear in the debugger.