mchmara: Modified PController; corrected building.cpp