Fixed #49. Made command-line hypogeom4 handle database