Added functionality

Added the connect, index tree, and server stats functionality. Cleaned
up some PHP errors, and created a error logging system. Also fixed some
bootstrap issues with the dynamic sizing.