some config.h cleanup, fixes #151
element palette converts elements stored in .ctype and .tmp when needed, fixes #105