LgTV code cleanup