Add full X11 implementation and block hashing