updated readme, minor tweaks in the main sketch