change history and commands

1. read from file of history when command_line_window open;
2. write history to file when sim-qt's main_window is closed;
3. Bug fix:
	a.the color of command_line_window changed
	b.delete main_window_tools_slots file
	c.delete extera space of a command
add kill subprocess and fix some bugs

1. fix the bug when the cursor moved left, it can go through the preopt;
2. fix the bug when selected some text and move down until out the whole
window, it will print very more preport;
3. fix the bug when Home is pressed, all words are missing;
4. add the function to kill the executing process when it is necessary;