Fixed CGI code, no longer depending on external libraries
Added duc_limitdir(), added 'rest' part to graph