added misc functions for characters
added some arguments validation clauses
more run-time and expand-time inspection features
more documentation