Done tonnnnnns of stuff

Made it delete rightpane fragment and close when rejecting friend request, fixed bug where it would always delete the last thing in the list, fixed when do_tox runs, added friend request accepting, restructured a lot of code.