made paths absolute
fixed memleak
fixed web interface paths