more configure modularization, move sn into ewmh.c