Add functionality for saving the compiled document resulting from live preview
Also, connect the signal/slots in 'kile.cpp' using the function pointer syntax.