Added cookie functions

Still need to fix some of the prompt pop-up windows,  as well as work on
figuring out how to actually use Prowl.

Also need to make randomize() function more modular.