Code clean up. Removed libydpdict from sources.

#ifndef in headers replaced by #pragma once.
Fixed -Wshadow warnings.