Fixed clear history bug, now readline history is cleared too
Trimmed the minimal shell a bit