Packed textures are re-generated when pack.sh change.
Fix indent
Change the way of rendering textures.

Textures are now rendered by pack, the map only render the floor first,
using the packed texture, and then entities are rendered.
Boards are now managed by main().

Prepare for future improvement on map rendering.
Update map when needed and render result.