Preparing translations & minor bug fixes

Added translation functions. They are not fully working yet. Moved some
const variables to separate header.
Fixed bug with loop message while waiting for process to inject.