Doc: Logning with median filter for real
Doc: Moved all code fragments into a Appendix