-#document.body.addEventListener 'touchmove', (event) ->
-#	event.preventDefault()
+# Prevent iOS Safari from doing the scroll thing
+document.body.addEventListener 'touchmove', (event) ->
+	event.preventDefault()
 
+# Anonymous function to map paper to P
 ((P) ->
 	canvas = document.getElementById 'canvas'
 	P.setup canvas
 
+	# Set the background image
 	background = new P.Raster
 		source: '//hufkens.net/wp-content/uploads/2012/10/bumba-win8.png'
 		position: new P.Point P.view.center.x, .7 * P.view.center.y

		actualPiece.group.bringToFront()

	tool.onMouseUp = (event) ->
		actualPiece = null
		dragging = false


		return if dragging

		# Reset
		possiblePieces = []
		actualPiece = null

