updated libraries, cleanup macros, add macros for hexadecimal number literals