Added readme.md and fixed bugs on GUI