Fork of https://sourceforge.net/projects/nicstat/ to fix bugs