keyword statement not includes globals
moved global variables handling
add a TextMate plugin link, by @lawrenceakka