Hacked actions.cpp so that Clac will compile using clang v3.4. The file needs additional major work before it will actually do what is intended.