This commit should remove any unexpected behaviour or crashes that may be caused by users passing unexpected values to mp.input functions. String and numerical options are now explicitly converted to strings and numbers. Values which should be tables are set to empty tables, and warning messages are printed to inform the user.