Temporary status command
Fix several badmatch and logging