Added proper capitalization to string generation functions
Fixed a bug in the Markdown image generation