Props to narrenschiff for introduction to proper use of map(), filter() and reduce(). Reworking of core and parsing functions. Also, radio button instead of regex flim-flam.