Fixed bug in FontHelper. Now it returns no BadResourceError. Also
implemented SmartTile and SmartMap functionality. WIP.