Fixed some markdown formatting issues and added an image for the table
of state changes.