Tried extracting MineLayer class, but some kind of infinite loop is
happening, and the Hammer touch events are throwing an error at
startup...