Removed trailing newlines from code presentation. Updated README.
Added arrow key navigation to the example viewer with bounds checking.