cp: AG lgx code cleanup, removal of commented elements