Added function call for out-of-core index
Restored -g flag
more warnings and flags