added netbeans project, added color logging, fixed bugs