adding cheesy css/js mouse selection for testing queryBB
improving selection range codes

adding fixBounds() in main.js to compensate for negative deltas (click
and drag to upper left instead of lower right)