tweaking stuff and putting a bunch of useful macros into solidmon.h