Fixed double plot and extracted some gp related commands to the parser, shortened functions and removed unnecessary variable and function relics.