added hexagon tile functions; minor cleanups