Fix netbeans, a few more tiny customizations.