changed fmt() functions
new command: version, removed function msg()