Added experimental fetchall command
minor tweaks and fixes