Richard: what IDE are you using? I really don't like mplabx