Added autojoining after getting kicked. Commands through querying no longer accepted. Also several other minor changes and fixes.