add new option to installer
Fix broken vector print
Clean up the code, removing comments, deleting unreachable code, respecting the DEBUG constant and setting the correct online references.