pass command line params (e.g. -d for debug)
add tile bounds to clip bounds calculation