Added texture analysis
Replace some usages of printf with puts
Pulled variable lookup logic into its own function
Added audio analysis