Javadocs comments added, and fixed a bug with the home button at the top-left