Statically linked build. Removed debug functions, fixed .pro file