Tk::exit doesn't work as expected

tested this on the wrong version of the script..
optional parameter to set font-size

useful for those using non-standard font-sizes on their lists.
fixed a few errors + cleaned up code

fixed issue with parameters being checked incorrectly (and causing
errors)
cleaned up the code to use list() = array() when possible
moved to mysqli
use ON DUPLICATE KEY UPDATE rather than doing an if/else sql statement
mal_precise v1.2.0

see README for changelog