Various android fixes.
	* properly shutdown OpenSLES.
	* dont rely on initialised global variables.
	* removed reduntant mutexes