added functions for clearing whitespace and navigating buffers/tabs