Working on init/deinit for X11