Math.round coords
minor changes and code notes
basic json validation