Removed PHP>5.4 reqs; removed lots of bugs; appears to work now