build with debug symbols in debug mode
add/improve some comments
fix infinite loop in value list