Little cleanup plus add custom cursor support to Pi port.
Add missing picursor.h from last commit (moved out of pidisplay.c)