clean up parsing of source files, make form fit better for smaller screens