Removing Glib dependency

Added a simple hash-table structure.
Ctx-stack finished.
Handle Storage is mostly done.

I have to study the xdisplay related functions.