Disable buttons when playing or recording.
Log functions.
Date/Time functions.
Replace printf and fprintf.