General bugfixes

Great addition to sticky-notes, was exactly what I was looking for with a lightweight pastebin but I fixed a few bugs in some of the transition to the RedBeanPHP library to make the projects and admin interfaces work. Thanks!