Added kate temporary edit file.
Added & removed debug code.