Fixed sidebar, changed main.html, upload.php corrected links