Minor code cleanup
Fix snap to grid toggle and Minor code styling
Merge pull request #63 from AiNoKame/style

Fix snap to grid