added pie mode back in and finished the fixed point conversion. drastic codesize reduction