some renaming, and error handling changes
Merge branch 'master' of https://github.com/ibiwan/drects-node

Conflicts:
	private/db.js
	rects_s.js