diff --git a/README.txt b/README.txt
index badc2f2..8c01677 100644
--- a/README.txt
+++ b/README.txt
@@ -1,10 +1,13 @@
-This module adds a contextual link to Panel Panes that are entity
-fields allowing fields to be edited directly.
+It is highly recommended you install both the Panels and Contextual
+modules alongside FAPE.
+
+This module allows Contextual to create a link to Panel Panes that are
+entity fields allowing the fields to be edited directly.
 
 To make use of this module, first enable the module. Then enable
-Panels and on a panel that has an entity context, add any field.
-Users who have access to edit that field on that entity and have
-contextual links access will see a little contextual link allowing
+Contextual and Panels. For any panel that has an entity context,
+users who have access to edit the fields on that entity and have
+contextual links access will see a contextual link allowing
 them to edit that field in the overlay (or on a separate screen
 if they do not have overlay access).
 
diff --git a/fape.info b/fape.info
index 48acff4..df46c84 100644
--- a/fape.info
+++ b/fape.info
@@ -7,4 +7,3 @@ dependencies[] = ctools
 ; by non-Panels modules if they desire.
 ; dependencies[] = panels
 dependencies[] = entity
-dependencies[] = contextual
\ No newline at end of file
diff --git a/fape.module b/fape.module
index 105574e..d6e24a2 100644
--- a/fape.module
+++ b/fape.module
@@ -51,11 +51,12 @@ function fape_field_edit_page($entity_type, $entity_id, $field_name, $langcode =
   }
 
   // Ensure access to actually update this particular field is granted.
-  if (!field_access('edit', $field_name, $entity_type, $entity)) {
+  $field = field_info_field($field_name);
+  if (!field_access('edit', $field, $entity_type, $entity)) {
     return MENU_ACCESS_DENIED;
   }
 
-  list($id, $vid, $bundle) = entity_extract_ids($entity_type, $entity);
+  list( , , $bundle) = entity_extract_ids($entity_type, $entity);
 
   // This allows us to have limited support for non-field API fields.
   // Currently we support only node:title.
@@ -145,6 +146,13 @@ function fape_field_edit_form($form, &$form_state) {
     '#type' => 'submit',
     '#value' => t('Save'),
   );
+  $form['actions']['cancel'] = array(
+    '#type' => 'submit',
+    '#value' => t('Cancel'),
+    '#validate' => array('fape_field_edit_form_cancel'),
+    '#executes_submit_callback' => FALSE,
+  );
+
 
   // Ensure this actually gets on there.
   $form['#submit'][] = 'fape_field_edit_form_submit';
@@ -291,6 +299,17 @@ function fape_field_edit_form_submit($form, &$form_state) {
 }
 
 /**
+ * Redirect back to original page when user hits the cancel button.
+ *
+ * Note:
+ * This is registered as a form validate handler on the cancel submit element
+ * so that we can bypass the submit logic which the ers module ties into.
+ */
+function fape_field_edit_form_cancel($form, &$form_state) {
+  drupal_goto($form_state['redirect']);
+}
+
+/**
  * Determine if an entity uses revisions.
  *
  * @return
@@ -338,31 +357,28 @@ function fape_panels_pane_content_alter($content, $pane, $args, $context) {
 
   if ($pane->type == 'entity_field') {
     list($entity_type, $field_name) = explode(':', $pane->subtype);
-
-    // Extract the entity from the context.
     $plugin = ctools_get_content_type($pane->type);
-    $pane_context = ctools_content_select_context($plugin, $pane->subtype, $pane->configuration, $context);
-
-    list($id, $vid, $bundle) = entity_extract_ids($entity_type, $pane_context->data);
-    if (entity_access('update', $entity_type, $pane_context->data) &&
-        field_access('edit', $field_name, $entity_type, $pane_context->data)) {
-      $content->admin_links[] = array(
-        'title' => t('Edit field'),
-        'alt' => t("Edit the data in this field."),
-        'href' => "admin/field/edit/$entity_type/$id/$field_name",
-        'query' => drupal_get_destination(),
-      );
+    $entity = ctools_content_select_context($plugin, $pane->subtype, $pane->configuration, $context)->data;
+    if (entity_access('update', $entity_type, $entity)) {
+      $field = field_info_field($field_name);
+      if (field_access('edit', $field, $entity_type, $entity)) {
+        list($id, , ) = entity_extract_ids($entity_type, $entity);
+        $content->admin_links[] = array(
+          'title' => t('Edit field'),
+          'alt' => t("Edit the data in this field."),
+          'href' => "admin/field/edit/$entity_type/$id/$field_name",
+          'query' => drupal_get_destination(),
+        );
+      }
     }
   }
 
   // We also support the node title field specifically.
-  if ($pane->type == 'node_title') {
+  else if ($pane->type == 'node_title') {
     $plugin = ctools_get_content_type($pane->type);
-    $pane_context = ctools_content_select_context($plugin, $pane->subtype, $pane->configuration, $context);
-
-    $nid = $pane_context->data->nid;
-
-    if (node_access('update', $pane_context->data)) {
+    $entity = ctools_content_select_context($plugin, $pane->subtype, $pane->configuration, $context)->data;
+    if (node_access('update', $entity)) {
+      $nid = $entity->nid;
       $content->admin_links[] = array(
         'title' => t('Edit field'),
         'alt' => t("Edit the data in this field."),
@@ -371,6 +387,4 @@ function fape_panels_pane_content_alter($content, $pane, $args, $context) {
       );
     }
   }
-
 }
-
