Merge pull request #459 from Arcterus/deprecation

Fix most deprecation warnings and remove hacky nohup code
Fix warning about time being deprecated