Added notebook page for friendrequests.
Added function to show/hide notebook pages.
Show friendrequest dialog when a request is received.
Added function to display errors.
Completed on_request callback.