tidy_up

Get rid of an irrelevant put statement that was left in from macro
development
missing_and_var_checks

Updated the way the macro deals with missing values - they are not
passed through as is without them becoming a valid level. Also added
some keyword and dataset checks.