Fixed use of non FFR constants, added support for using gesture parameters from JavaScript, updated map.html example with more gestures, added support for offline mode in FuffrBox (not yet complete).