Make use of get_pkg_data_filename for icon
Remove SAMP_HUB_SINGLE_INSTANCE and SAMP_HUB_MULTIPLE_INSTANCE constant since they do not improve readability compared to simply using 'single' and 'multiple'.
Fix bug in lockfile_helpers
Avoid use of eval()
Tidied up threading to avoid losing handles on threads