Added ability to specify multiple segments to print when querying (fixes #22).
Removed debug code.
Fixed compiler warning (-Wformat).
Fixed memory errors (fixes #24).
Fixed various memleaks.
Added install target to Makefile.