Added netbeans project, minor tweaks.