added autoreconf setup
more autoreconf ignore rules
correct lib reference, added last state msg send