Added LICENSE; fixed iOS bug