Code Cleanup: Using format strings

append_message functions now use format string and variable arguments

Added documentation and comments for new functions

Update TODO