Added 'notice' event handling to the server.
Restructured and cleaned up event handling in lib/sql.js.
More layout fixes.
Updated unisocket client script.
Fixed query running stuff, and switched to actually using rt.eventemitter.