Fixed UTF8 query mode and began adding options in table display
functionality