added piece legend

also did some work on zenity to get better table querying functionality.
not working yet
Merge branch 'master' of https://github.com/htebalaka/drunken-octo-adventure