syntax changes to user_interface.c. this file needs major work still.