fixed several bugs; added ICommad for remaining buttons; started adding Tile sample