add setup transparency color to tileset
more proper way to handle quit
fix non-void function return
update example