Merge pull request #5 from codywd/master

Merge pull request #4 from codywd/develop
Fix bug of the pidFile mechanism.

1. Cleanup should be called at the end instead of start.
   Since it'll remove the pidFile we just created.

2. Unlock must come after unlink or we'll suffer race condition.
   EX: procA launched -> procA process -> procA unlock ->
       procB launched -> procA unlink
   Oops, procA remove procB's pidFile...

3. We must open pidFile with os.open + os.fdopen or the pidFile
   will be truncated even if our netgui is still running.
   It won't cause any problem now, however, it's a potential bug.
Call cleanup whatever happened
Make treeview scrollable in case there's lots of ap.
change the way of checking whether network is connected
fix of potential bug (prefix need not to be "netgui_")
Bugfix of CreateConfig ... Orz
Merge pull request #6 from coquelicot/develop

Fix bug of the pidFile mechanism / Scrollable network list / Creating Profile.
Updating files.
Profile Menu now lists all profiles.
Fixing error where X button caused a too many positional arguments error.
Possible fix for X button close issue in preferences dialog.
comments, pythonic corrections
this is a stupid requirment
trimed the wpa_cli, but it's still in need of some TLC
this is the commit to fix #7
fix for guessing the interface

this commit should fix the function that tries to auto guess the wireless
interface. If this passes it will run faster, and is a cleaner read.
dummy commit
Merge branch 'develop' of github.com:codywd/NetGUI into develop
dummy commit for line endings w/windows