adding initial messaging

other various fixes and improvements