avoid exceptions, fixed progress
added message handler for debugging
debug symbols, removed warning