Use a simpler print_board function for compiler compatibility; this partially fixes #3.
Use the first tile-container if there are multiple ones on the page.
Add cross-platform implementations of unif_random. This fixes #3.