Further tweaked a few project properties to make things work more correctly in Netbeans.