$_GET['tab'] is sometimes empty in admin back end

* Added some empty/isset checks and removed the superfluous default setting that was already given by the function argument.
* Some white space tweaks
Merge pull request #12 from aphofstede/patch-1

$_GET['tab'] is sometimes empty in admin back end