Fixing PHP warnings.
Minor - refactor code.
Minor - fixing lang var.
Minor - adding lang, disabling work comments.