Added 16 bit texture export and some bug fixes for the jsfl scripts.