Added security token back. It was accidentaly removed while ported to Drupal 7. Removed hook_enable and hook_disable in install file. Moved hook_preprocess statements such as adding jQuery libraries and setting variables to form[attached] array.