Fixed compile errors, fixed Plauer controls segfault