PRINCE: Fix a few compile errors
PRINCE: Fix a few warnings