Improve sessions security.
Modify _ykr_urlencode().
Check upload directory exists.
Make dicts use finalize hooks.