Parameters parsing debugged
Error messages, removed some debug functions from final executable