Translation, Bugfixing

- Translated ki.pl -> ai.pl and heuristik.pl -> heuristic.pl
- Fixed some bugs introduced during translation (previuos commits)