Tweaked drawing code
started integrating list_files
integrated cursor selection code