Added changeMsg() function and updated type variable definition
Added basic race viewing with super messy code