added some functions and the command to extend write threshold
Merge branch 'master' of https://github.com/toerq/OSM-Project