Filetype now being sent with file. Added unload handler to destroy session if a user leaves. Added todo.