Small fixes here and there.
Location detection added.
Other small improvements.