Removed comments.
Fixed last warnings.
Memory leakage fixed.
Fixed analyzer warnings.