g.loadlog function

Load and clean sleeplog information