Removed unused code in video.c
Implemented borders
Updated most uses of debuglog() to rpclog()