PRINT(x): handy tool for couting variables

+ msg() and error() now use std::string to enable PRINT(x)
implementation