fixed a nasty pressure bug after moving to gcc and cleaned up a few compiler warnings in the process