Implemented cmd line buffer and enabled switching between it and the main text buffer